package com.guchenbo.spring;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

/**
 * @Author guchenbo
 * @Date 2020/5/18.
 */
@Component
public class GcbProperties {

    @Value("${gcb.config.name}")
    private String configName;

    public void print(){
        System.out.println(configName);
    }
}
